/*
 * sms_struct.h
 *
 *  Created on: 13.05.2012
 *      Author: Eugen Schneider
 */

#ifndef SMS_STRUCT_H_
#define SMS_STRUCT_H_

#include <stdbool.h>
#include <stdint.h>
#include <avr/io.h>

#define MAX_SMS_VALUES 24

struct current_time_and_date {

	uint8_t seconds;
	uint8_t minutes;
	uint8_t hours;
	uint8_t day;
	uint8_t month;
	uint8_t year;
}__attribute__ ((packed));

struct sms_payload {


	struct current_time_and_date time_and_date;
	uint16_t value[MAX_SMS_VALUES];

}__attribute__ ((packed));

#endif /* SMS_STRUCT_H_ */
